home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / GnuplotSource / TicObject.m < prev    next >
Encoding:
Text File  |  1995-06-12  |  918 b   |  59 lines

  1. /*
  2.  *  Copyright (C) 1993  Robert Davis
  3.  *
  4.  *  This program is free software; you can redistribute it and/or
  5.  *  modify it under the terms of Version 2, or any later version, of 
  6.  *  the GNU General Public License as published by the Free Software 
  7.  *  Foundation.
  8.  */
  9.  
  10.  
  11. static char RCSId[]="$Id: TicObject.m,v 1.3 1993/05/04 16:23:09 davis Exp $";
  12.  
  13.  
  14. #import "TicObject.h"
  15.  
  16.  
  17. @implementation TicObject
  18.  
  19.  
  20. /* Overrides SubObjects initFromString: */
  21. - initFromString:(const char *)aString
  22. {
  23.     return nil;
  24. }
  25.  
  26.  
  27. - initFromString:(const char *)aString doubleValue:(double)aDouble
  28. {
  29.     [super init];
  30.  
  31.     [self setStringValue:aString];
  32.     [self setDoubleValue:aDouble];
  33.  
  34.     return self;
  35. }
  36.  
  37.  
  38. - setDoubleValue:(double)aDouble
  39. {
  40.     doubleValue = aDouble;
  41.     return self;
  42. }
  43.  
  44.  
  45. - (double)doubleValue
  46. {
  47.     return doubleValue;
  48. }
  49.  
  50.  
  51. // Shuts up the compiler about unused RCSId
  52. - (const char *) rcsid
  53. {
  54.     return RCSId;
  55. }
  56.  
  57.  
  58. @end
  59.